/**
 * 导入axios依赖！
 * 价值mock数据：
 * 封装成await函数形式
 */
import axios from 'axios'
const httpUrl = 'https://www.easy-mock.com/mock/5c6fab6b7d6917141f1753f6/quality/'
export async function getData () {
  return axios.post(httpUrl + 'clientTable')
    .then((data) => {
      data = data.data.data
      return data
    })
    .catch((err) => {
      console.log(err)
      return err
    })
}
